package com.sdd.sg.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * ClassName: UserAddRequest
 * Description:
 * date: 2020/7/6
 *
 * @author xugaojun
 */
@Data
public class UserAddRequest implements Serializable {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

}
